package org.linlinjava.litemall.admin.dto;

import java.time.LocalDateTime;

public class PiccMessageInfo {
    int unReadCount;
    int patientId;
    int nurseId;
    String header;
    String latestMsg;
    String pName;
    String latestTime;
    LocalDateTime latestTimeNum;

    public PiccMessageInfo(int unReadCount, int patientId, int nurseId, String header, String latestMsg, String pName, String latestTime) {
        this.unReadCount = unReadCount;
        this.patientId = patientId;
        this.nurseId = nurseId;
        this.header = header;
        this.latestMsg = latestMsg;
        this.pName = pName;
        this.latestTime = latestTime;
    }

    public void setUnReadCount(int unReadCount) {
        this.unReadCount = unReadCount;
    }

    public void setPatientId(int patientId) {
        this.patientId = patientId;
    }

    public void setNurseId(int nurseId) {
        this.nurseId = nurseId;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public void setLatestMsg(String latestMsg) {
        this.latestMsg = latestMsg;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public void setLatestTime(String latestTime) {
        this.latestTime = latestTime;
    }

    public int getUnReadCount() {
        return unReadCount;
    }

    public int getPatientId() {
        return patientId;
    }

    public int getNurseId() {
        return nurseId;
    }

    public String getHeader() {
        return header;
    }

    public String getLatestMsg() {
        return latestMsg;
    }

    public String getpName() {
        return pName;
    }

    public String getLatestTime() {
        return latestTime;
    }

    public void setLatestTimeNum(LocalDateTime latestTimeNum) {
        this.latestTimeNum = latestTimeNum;
    }

    public LocalDateTime getLatestTimeNum() {
        return latestTimeNum;
    }

    @Override
    public String toString() {
        return "PiccMessageInfo{" +
                "unReadCount=" + unReadCount +
                ", patientId=" + patientId +
                ", nurseId=" + nurseId +
                ", header='" + header + '\'' +
                ", latestMsg='" + latestMsg + '\'' +
                ", pName='" + pName + '\'' +
                ", latestTime='" + latestTime + '\'' +
                '}';
    }
}
